package com.qk.management.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.concurrent.TimeUnit;

/**
 * @author 16778
 * @date 2025/10/18 9:25
 * @description
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Cacheable {
    String prefix() default "";
    long expireTime() default 0L;
    TimeUnit expireTimeUnit() default TimeUnit.SECONDS;
}

